

package com.springcloud.configclient.consumer80.controller;

import com.springcloud.configclient.consumer80.service.ConsumerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ConsumerController {
    @Autowired
    private ConsumerService consumerService;

    @GetMapping(value = "consumer/payment/zk")
    public String getpaymentzk(){
        System.out.println("-----openfeign------");
        return  consumerService.getpaymentzk();
    }


}


